﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index_content.aspx.cs" Inherits="Manager_Menu_index_content" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML xmlns:cool="urn:dimok-com:cool">
	<HEAD>
		<title>index_content</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<?XML:NAMESPACE PREFIX="WM"/>
		<style>
	WM\:DROPMENU { BEHAVIOR: url(/include/HTC/dropmenu.htc) }
	@media All { cool\:bar { PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BEHAVIOR: url(/include/HTC/coolbar_js.htc); PADDING-TOP: 5px }
	cool\:button { BEHAVIOR: url(/include/HTC/coolbutton_js.htc); TEXT-ALIGN: center }}
	.coolbutton { FONT-WEIGHT: bold; FONT-SIZE: 8pt; VERTICAL-ALIGN: middle; CURSOR: hand; FONT-FAMILY: tahoma; cb--selected-background: menu }
	.toolBarPane { BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; MARGIN-TOP: 0px; MARGIN-LEFT: 0px; BORDER-LEFT: buttonhighlight 1px solid; BORDER-BOTTOM: buttonshadow 1px solid; FONT-FAMILY: tahoma }
	TABLE { FONT-SIZE: 8pt; FONT-FAMILY: tahoma;BEHAVIOR: url(/include/HTC/rowover_js.htc) }
	INPUT { FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: brown }
		</style>
		<LINK rel="stylesheet" type="text/css" href="navbar.css">
	</HEAD>
	<body onload="page_Load()" onkeydown="doEnterKey()" MS_POSITIONING="GridLayout" leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0>
		<form id="index_content" method="post" runat="server">
			<!--div nowrap class="toolBarPane" style=";"-->
			<asp:Panel Runat="server" CssClass="toolBarPane" id="divMenuBar" style="PADDING-LEFT: 5px;PADDING-BOTTOM: 3px;PADDING-TOP: 2px;BACKGROUND-COLOR: appworkspace;WIDTH: 100%;FONT-SIZE: 9pt;FONT-WEIGHT: bold;COLOR: white" nowrap=' '>
				<span id="menuPath"></span><img SRC="/images/User.gif" style="VERTICAL-ALIGN: middle" WIDTH="16" HEIGHT="16">
				<asp:Label Runat="server" id="spnActAs"></asp:Label>
				<span>
					<cool:button class="coolbutton" id="btnView" oncontextmenu="return(event.ctrlKey)" style="PADDING-RIGHT: 0px;PADDING-LEFT: 0px;FONT-WEIGHT: bold;PADDING-BOTTOM: 0px;VERTICAL-ALIGN: middle;CURSOR: hand;PADDING-TOP: 0px;FONT-FAMILY: tahoma;cb--selected-background: menu" image="/images/ViewPane.gif" type="check" title="Show/Hide View Pane" onclick="checkViewPane(this)"></cool:button>
				</span>
			</asp:Panel>
			<div valign="top" id="contents" height="100%"></div>
			<asp:Label Runat="server" ID="lblMenus"></asp:Label>
		</form>
		<OBJECT id="dso" height="0" width="0" classid="clsid:BD96C556-65A3-11D0-983A-00C04FC29E33" VIEWASTEXT>
			<PARAM NAME="ExecuteOptions" VALUE="2">
			<PARAM NAME="FetchOptions" VALUE="3">
			<PARAM NAME="SortDirection" VALUE="-1">
			<PARAM NAME="InternetTimeout" VALUE="300000">
		</OBJECT>
		<DIV id="divListTempl" style="BORDER-RIGHT:appworkspace 0px solid; BORDER-TOP:appworkspace 0px solid; DISPLAY:none; BORDER-LEFT:appworkspace 0px solid; BORDER-BOTTOM:appworkspace 0px solid">
			<TABLE id="tblTempl" border="1" cellpadding="0" cellspacing="0" bordercolor="white" style="DISPLAY:none;WIDTH:100%;BORDER-COLLAPSE:collapse;ro--shade-background:aliceblue" rowover="1" STRIPED="1" SELECTABLE="1">
				<THEAD>
					<TR valign="bottom" bgcolor="menu">
						<TH>
						</TH>
					</TR>
				</THEAD>
				<TBODY>
					<TR align="left" style="CURSOR:hand"><!--TD align="middle" nowrap><SPAN dataFld="ApplicantID"></SPAN><IMG onclick="deleteApplicant(getApplIDTR(this),this)" SRC="/manager/images/RemApplicant.gif" title="Delete Applicant" onmouseover="this.style.border='1 groove orange'" onmouseout="this.style.border=''" WIDTH="16" HEIGHT="16" style="FLOAT: none"></TD-->
						<TD align="left" onclick="showApplInfo(this)" clone=" " nowrap><SPAN dataFld="*" style="MARGIN-LEFT: 5px" DATAFORMATAS="html"></SPAN></TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
		<DIV id="svcApplInfo" onserviceavailable="onListsLoad(this)" style="BEHAVIOR:url(/include/htc/webservice.htc)"></DIV>
	</body>
</HTML>
<SCRIPT language="javascript" src="/Include/Common.js"></SCRIPT>
<SCRIPT language="javascript" src="/Include/RDS.js"></SCRIPT>
<SCRIPT language="javascript" src="/Include/DB.js"></SCRIPT>
<SCRIPT language="javascript" src="/Include/SOAP.js"></SCRIPT>
<SCRIPT language="javascript">
var funcCB_List;
var menuWindow;
var LISTS = "Lists"; //Web Service name
var Lists; //Web Service Object
function page_Load(){
	svcApplInfo.useService("Lists.asmx?WSDL",LISTS);
//	ddMenu_1.hide();
//	svcApplInfo.ApplInfo.callService(cb,"Update"+_funcFromDataSrc(el),__fieldByName(el,"ID"),fldName,fldValue);
}
function onListsLoad(svc){
	var cb = function(result){onUpdateTable(result,el)};
}
function showApplInfo(td){
var applID = __fieldByName(td,"ApplicantID");
	open("ShowApplicant.aspx?ApplID="+applID,null,features("status=yes"));
}
function showSubMenuItem(menuID,params,action,attributes,heading){
var pn,cm,to,un,pw,hd,ep;
	switch( params.toLowerCase() ){
		case 'list':
			var cb = function(result){onListReady(result)};
			var co = svcApplInfo.createCallOptions(action.replace(/[(].+/,""),pn,true,to,un,pw,hd,ep,_getParams(action));
			break;
		case 'window':
			menuWindow = open(action+(heading||""),"MENU_WINDOW",features("status=yes"));
			setTimeout(function(){menuWindow.focus()},1000);
			break;
		case 'link':
			try{menuWindow.close()}catch(e){}
			top.location.replace(action);
			break;
	}
	svcApplInfo.Lists.callService(cb,co);
	///Locals
	function _getParams(action){
		var abc = "abcdefghij";
		var p;
		var a = action.match(/[(](.+)[)]/);
		if( !a )return;
		a = a[1].split(",");
		for( var i=0,j=0,aa=new Array(); i < a.length; i++ )
			if( a[i].indexOf("'") < 0 )aa[a[i]] = eval(a[i]);
			else aa[abc.charAt(j++)] = a[i];
		return aa;
	}
}
function onListReady(result){
	if( showSOAPError(result) )return;
	if( defined(rowoverID) && rowoverID )
		(tblTempl[0]||tblTempl).removeBehavior(rowoverID);
  contents.innerHTML = "";
  contents.appendChild(divListTempl.cloneNode(true)).style.display="";
	var tt = tblTempl[0] || tblTempl;
	tt.dataSrc = "";
	var dlTime = new Date();
	loadDSO(dso,result.value);
  showDSO(dso,tt);
	downLoadTime = new Date()-dlTime;
}
function features(add){
var s = ",status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,top=0,left=0,"+(add||'');
var statusBar = s.match(/status=yes/i)?true:false;
	return "height="+(screen.availHeight-30-(statusBar?30:0))+",width="+(screen.availWidth-10)+s;
}
</SCRIPT>
